#pragma once

#include <string>
using namespace std;


class ClassMethod
{
  private:
    string    m_name;
    uintptr_t m_method;

  public:
    ClassMethod() : m_name(""), m_method(0) {}
    ClassMethod(const string& name, uintptr_t method)
        : m_name(name), m_method(method)
    {
    }
    ~ClassMethod() {}

    const string& name() // 方法名
    {
        return m_name;
    }

    uintptr_t method() // 方法指针
    {
        return m_method;
    }
};
